package cn.gson.springboot.model.dao;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import cn.gson.springboot.model.pojos.InhospitalStorage;

public interface PfInhospitalStorageDao extends CrudRepository<InhospitalStorage, Integer>{
	
	//根据药品编号查询
	//@Query("SELECT i FROM InhospitalStorage i join i.drug d where d.drugNumber=?1")
	//public InhospitalStorage selectStorgeBydrugcount(Integer dno);
}
